<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      vorbis-tools-1.4.0
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;43.&nbsp;Audio Utilities
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="pnmixer.html" title="pnmixer-0.7.2">Prev</a>
          <p>
            pnmixer-0.7.2
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="videoutils.html" title=
          "Video Utilities">Next</a>
          <p>
            Video Utilities
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="audioutils.html" title=
          "Chapter&nbsp;43.&nbsp;Audio Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="vorbistools" name="vorbistools"></a>vorbis-tools-1.4.0
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Vorbis Tools
        </h2>
        <p>
          The <span class="application">Vorbis Tools</span> package contains
          command-line tools useful for encoding, playing or editing files
          using the Ogg CODEC.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz">
                https://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 567e0fb8d321b2cd7124f8208b8b90e6
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 1.3 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 11 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Additional Downloads
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Required patch: <a class="ulink" href=
                "http://www.linuxfromscratch.org/patches/blfs/9.1/vorbis-tools-1.4.0-security_fix-1.patch">
                http://www.linuxfromscratch.org/patches/blfs/9.1/vorbis-tools-1.4.0-security_fix-1.patch</a>
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Vorbis Tools Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="libvorbis.html" title=
          "libvorbis-1.3.6">libvorbis-1.3.6</a>
        </p>
        <h4>
          Optional (required to build the <span class=
          "command"><strong>ogg123</strong></span> program)
        </h4>
        <p class="optional">
          <a class="xref" href="libao.html" title=
          "Libao-1.2.0">libao-1.2.0</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../basicnet/curl.html" title=
          "cURL-7.68.0">cURL-7.68.0</a>, <a class="xref" href="flac.html"
          title="FLAC-1.3.3">FLAC-1.3.3</a>, <a class="ulink" href=
          "https://code.google.com/archive/p/libkate/">libkate</a>, and
          <a class="xref" href="speex.html" title=
          "Speex-1.2.0">Speex-1.2.0</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/vorbistools">http://wiki.linuxfromscratch.org/blfs/wiki/vorbistools</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Vorbis Tools
        </h2>
        <p>
          First, apply a patch to fix some security issues:
        </p>
        <pre class="userinput">
<kbd class=
"command">patch -Np1 -i ../vorbis-tools-1.4.0-security_fix-1.patch</kbd>
</pre>
        <p>
          Install <span class="application">Vorbis Tools</span> by running
          the following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr \
            --enable-vcut \
            --without-curl &amp;&amp;
make</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--enable-vcut</code></em>: This
          parameter is used so that the <span class=
          "command"><strong>vcut</strong></span> program is built as it is
          not by default.
        </p>
        <p>
          <em class="parameter"><code>--without-curl</code></em>: This
          parameter disables HTTP streaming in <span class=
          "command"><strong>ogg123</strong></span>. Remove this parameter if
          you have <span class="application">cURL</span> installed.
        </p>
      </div>
      <div class="configuration" lang="en" xml:lang="en">
        <h2 class="sect2">
          Configuring Vorbis Tools
        </h2>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3">
            <a id="vorbistools-config" name="vorbistools-config"></a>
          </h3>
          <h4 class="title">
            <a id="vorbistools-config" name="vorbistools-config"></a>Config
            Files
          </h4>
          <p>
            <code class="filename">/etc/libao.conf</code>, <code class=
            "filename">~/.libao</code> and <code class=
            "filename">~/.ogg123rc</code>
          </p>
        </div>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3"></h3>
          <h4 class="title">
            <a id="idm45779233784176" name=
            "idm45779233784176"></a>Configuration Information
          </h4>
          <p>
            Issue <span class="command"><strong>man
            libao.conf</strong></span> for information about setting the
            default output device. Also see <code class=
            "filename">/usr/share/doc/vorbis-tools-1.4.0/ogg123rc-example</code>
            .
          </p>
        </div>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">ogg123, oggdec, oggenc, ogginfo, vcut and
              vorbiscomment</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directory:</strong>
              <span class="segbody">/usr/share/doc/vorbis-tools-1.4.0</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="ogg123" name="ogg123"></a><span class=
                    "term"><span class=
                    "command"><strong>ogg123</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a command-line audio player for Ogg Vorbis streams.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="oggdec" name="oggdec"></a><span class=
                    "term"><span class=
                    "command"><strong>oggdec</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a simple decoder which converts Ogg Vorbis files into
                    PCM audio files (WAV or raw).
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="oggenc" name="oggenc"></a><span class=
                    "term"><span class=
                    "command"><strong>oggenc</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is an encoder that turns raw, WAV or AIFF files into an
                    Ogg Vorbis stream.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ogginfo" name="ogginfo"></a><span class=
                    "term"><span class=
                    "command"><strong>ogginfo</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    prints information stored in an audio file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="vcut" name="vcut"></a><span class=
                    "term"><span class=
                    "command"><strong>vcut</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    splits a file into two files at a designated cut point.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="vorbiscomment" name=
                    "vorbiscomment"></a><span class="term"><span class=
                    "command"><strong>vorbiscomment</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is an editor that changes information in the audio file
                    metadata tags.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-20 12:41:28 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="pnmixer.html" title="pnmixer-0.7.2">Prev</a>
          <p>
            pnmixer-0.7.2
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="videoutils.html" title=
          "Video Utilities">Next</a>
          <p>
            Video Utilities
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="audioutils.html" title=
          "Chapter&nbsp;43.&nbsp;Audio Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
